<?php
date_default_timezone_set ("Europe/Madrid");
$t = time();
$str = date("r", $t);
header("Content-type: application/xml");
echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n";
echo "<date>\n";
echo "\t<string>$str</string>\n";
echo "\t<epoch>$t</epoch>\n";
echo "</date>\n";
?>
